<div class="row">
    <!--搜索域-->
    <div class="col-xs-12">
    	<div class="search-area">
    		<form id="table-perm-menu-search" class="form-inline">
    			<input type="hidden" name="permission.type" value="2" />
                <div class="form-group">
                    <label for="permission-name">权限名称：</label>
                    <input type="text" class="form-control input-sm" id="permission-name" name="permission.name" value="" placeholder="">
                </div>
                <div class="form-group">
                    <label for="permission-code">权限编码：</label>
                    <input type="text" class="form-control input-sm" id="permission-code" name="permission.code" value="" placeholder="">
                </div>
	             <button id="btn-perm-menu-search" type="button" class="btn btn-info btn-sm no-border">
	             	<i class="ace-icon fa fa-search bigger-110"></i>查询
	             </button>
	             <div class="form-group pull-right">
					<span>查询方式：</span>
					<label class="radio-inline">
						<input type="radio" name="searchType" value="1" checked="checked" />精确
					</label>
					<label class="radio-inline">
						<input type="radio" name="searchType" value="0" />模糊
					</label>
				</div>
            </form>
        </div>
    </div>
</div>
<!-- 数据表格 -->
<div class="row">
    <div class="col-xs-12">
    	<div id="table-perm-menu-toolbar">
    		<div class="btn-group btn-group-sm">
    		<!-- 
             <button class="btn btn-purple btn-sm no-border" >
                 <i class="ace-icon fa  fa-eye bigger-110 "></i>查看
             </button>
             
             <button class="btn btn-info btn-sm no-border" 
             onclick="goAdd('新增菜单权限', 'system/admin/permission/add?type=2', 'table-perm-menu');">
                 <i class="ace-icon fa fa-plus bigger-110"></i>新增
             </button>
             <button class="btn btn-success btn-sm no-border"
             onclick="goUpdate('编辑菜单权限', 'system/admin/permission/edit', 'table-perm-menu');">
                 <i class="ace-icon fa fa-pencil-square-o bigger-110"></i>编辑
             </button>
             <button class="btn btn-danger btn-sm no-border"
             onclick="doDels('system/admin/permission/deletes', 'table-perm-menu');">
                 <i class="ace-icon fa fa-trash-o bigger-110"></i>删除
             </button>
             -->
             <x:toolbar menuId="${menuId}" elemIds="addPerm,editPerm,delPerm">
	         </x:toolbar>
            </div>
        </div>
    	<table id="table-perm-menu" 
    			data-toolbar="#table-perm-menu-toolbar" 
    			data-sort-name="code" 
    			data-sort-order="desc"
    			data-show-columns="true">
    		 <thead>
                <tr>
                    <th data-field="state" data-checkbox="true"></th>
                    <th data-width="100"data-field="uuid" data-align="left" data-sortable="false" data-visible="false">权限ID</th>
                    <th data-width="100" data-field="name" data-align="left" data-sortable="true">权限名称</th>
                    <th data-width="100" data-field="code" data-align="left" data-sortable="true">权限编码</th>
                    <th data-width="60" data-field="url" data-align="left" data-sortable="true">权限路径</th>
                    <th data-width="60" data-field="available" data-align="left" data-sortable="true">状态</th>
                </tr>
            </thead>
        </table>
    </div>
</div>